/**
 * 
 */
package com.pmsco.pms.services.interfaces;

import java.util.List;

import com.pmsco.pms.core.domain.SubCategory;

/**
 * @author Long Tran
 *
 */
public interface SubCategoryService {
	public SubCategory getSubCategoryByName(String name);
	public SubCategory getSubCategoryById(Long id);
	public List<SubCategory> listSubCategory(SubCategory searchTemplate);
	public List<SubCategory> listSubCategory(String searchField, String searchString, String searchOper, String sidx, String sord, Integer page, Integer rows);
	public Integer countListSubCategory(String searchField, String searchString, String searchOper);
	public void saveOrUpdateSubCategory(SubCategory subCategory);
}
